-
Home
-
Tutor LMS – eLearning and online course solution
-
3.8.3
-
Code
-
Classes
- Paypal
| Total Complexity |
118 |
| Dependencies |
13 |
| Dependents |
0 |
| Total lines |
1,143 |
| Lines of code |
576 |
| Logical lines of code |
274 |
| Comment lines |
340 |
| Methods |
35 |
| Properties |
6 |
Methods 35
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| verifyAndCreateOrderData() |
A |
48 |
12 |
31 |
| prepareData() |
A |
49 |
8 |
30 |
| handleErrorResponse() |
S |
55 |
7 |
20 |
| processIssues() |
S |
56 |
6 |
19 |
| getItems() |
S |
48 |
5 |
33 |
| getPaymentSourceForRecurring() |
S |
48 |
5 |
33 |
| setReturnData() |
S |
49 |
5 |
28 |
| createWebhook() |
S |
53 |
5 |
20 |
| createNewWebhook() |
S |
51 |
4 |
25 |
| createRefund() |
S |
47 |
3 |
36 |
| getAccessToken() |
S |
55 |
4 |
18 |
| checkWebhookVariables() |
S |
68 |
5 |
7 |
| createPayment() |
S |
58 |
4 |
14 |
| createRecurringPayment() |
S |
51 |
3 |
26 |
| verifySignature() |
S |
51 |
3 |
24 |
| createAmountData() |
S |
54 |
3 |
21 |
| capturePayment() |
S |
54 |
3 |
19 |
| processRefund() |
S |
55 |
3 |
18 |
| setData() |
S |
62 |
3 |
12 |
| getPaymentSourceForOneTime() |
S |
58 |
2 |
16 |
| prepareDataForRefund() |
S |
57 |
2 |
16 |
| checkQueryParams() |
S |
78 |
3 |
3 |
| getVaultDetails() |
S |
59 |
2 |
14 |
| check() |
S |
67 |
2 |
7 |
| getShippingInfo() |
S |
59 |
1 |
15 |
| getUrl() |
S |
70 |
2 |
6 |
| processApprovedOrder() |
S |
69 |
2 |
6 |
| isOrderApproved() |
S |
79 |
2 |
3 |
| sendHttpRequest() |
S |
65 |
2 |
9 |
| isOrderCompleted() |
S |
79 |
2 |
3 |
| createOrder() |
S |
61 |
1 |
12 |
| setup() |
S |
71 |
1 |
6 |
| verifyPaymentAuthentication() |
S |
63 |
1 |
10 |
| createAmountForRecurring() |
S |
70 |
1 |
6 |
| getRefundStatus() |
S |
63 |
1 |
10 |